Postgresql 时间加减运算
now()::timestamp(0)精确到秒 加法: SELECT now()::timestamp(0) + '1 year'; --当前时间加1年 SELECT now()::timesta ...
now()::timestamp(0)精确到秒 加法: SELECT now()::timestamp(0) + '1 year'; --当前时间加1年 SELECT now()::timesta ...